.class Les/qy$c$b;
.super Ljava/lang/Object;
.source "BottomMenuItemProvider.java"

# interfaces
.implements Lcom/estrongs/android/ui/dialog/p0$c;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/qy$c;->onMenuItemClick(Landroid/view/MenuItem;)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/qy$c;


# direct methods
.method constructor <init>(Les/qy$c;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/qy$c$b;->a:Les/qy$c;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(I)V
    .locals 4

    .line 1
    iget-object v0, p0, Les/qy$c$b;->a:Les/qy$c;

    iget-object v0, v0, Les/qy$c;->a:Les/qy;

    invoke-static {v0}, Les/qy;->a(Les/qy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 2
    iget-object v1, p0, Les/qy$c$b;->a:Les/qy$c;

    iget-object v1, v1, Les/qy$c;->a:Les/qy;

    invoke-static {v1}, Les/qy;->a(Les/qy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v1

    .line 3
    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v2

    rem-int/lit8 v3, p1, 0x4

    div-int/lit8 p1, p1, 0x4

    .line 4
    invoke-static {v1, v2, v3, p1}, Lcom/estrongs/android/pop/view/utils/f;->a(Landroid/content/Context;Ljava/lang/String;II)V

    .line 5
    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->J0(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_0

    .line 6
    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object p1

    .line 7
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->B0(Ljava/lang/String;)Z

    move-result p1

    if-nez p1, :cond_0

    .line 8
    iget-object p1, p0, Les/qy$c$b;->a:Les/qy$c;

    iget-object p1, p1, Les/qy$c;->a:Les/qy;

    .line 9
    invoke-static {p1}, Les/qy;->a(Les/qy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    iget-object p1, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->t:Lcom/estrongs/android/pop/l;

    .line 10
    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v1

    .line 11
    invoke-virtual {p1, v1}, Lcom/estrongs/android/pop/l;->g(Ljava/lang/String;)Les/q70;

    move-result-object p1

    goto :goto_0

    .line 12
    :cond_0
    iget-object p1, p0, Les/qy$c$b;->a:Les/qy$c;

    iget-object p1, p1, Les/qy$c;->a:Les/qy;

    .line 13
    invoke-static {p1}, Les/qy;->a(Les/qy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    iget-object p1, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->t:Lcom/estrongs/android/pop/l;

    .line 14
    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v1

    .line 15
    invoke-virtual {p1, v1}, Lcom/estrongs/android/pop/l;->i(Ljava/lang/String;)Les/q70;

    move-result-object p1

    .line 16
    :goto_0
    invoke-virtual {v0, p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Les/q70;)V

    .line 17
    :cond_1
    iget-object p1, p0, Les/qy$c$b;->a:Les/qy$c;

    iget-object p1, p1, Les/qy$c;->a:Les/qy;

    invoke-static {p1}, Les/qy;->c(Les/qy;)Lcom/estrongs/android/ui/dialog/q0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/q;->dismiss()V

    return-void
.end method
